package com.hlpedu.mapper;

import com.hlpedu.pojo.Card;
import org.apache.ibatis.annotations.Select;

public interface CardMapper {
    /**
     * 根据id查询身份证号
     * @param cardId
     * @return
     */
    @Select("select code from card where id=#{cardId}")
    Card queryCardById(Integer cardId);
}
